﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <!-- Google fonts -->
    <link href='http://fonts.googleapis.com/css?family=Special+Elite&v1' rel='stylesheet'
        type='text/css' />
    <link href='http://fonts.googleapis.com/css?family=Anonymous+Pro:regular,italic,bold,bolditalic&v1'
        rel='stylesheet' type='text/css' />
    <link href='http://fonts.googleapis.com/css?family=Nunito:regular,bold&v1' rel='stylesheet'
        type='text/css' />
    <link href='http://fonts.googleapis.com/css?family=Schoolbell&v1' rel='stylesheet'
        type='text/css' />
    <link href='http://fonts.googleapis.com/css?family=Annie+Use+Your+Telescope&v1' rel='stylesheet'
        type='text/css' />
    <link href='http://fonts.googleapis.com/css?family=EB+Garamond&subset=vietnamese&v2'
        rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans&subset=vietnamese&v2'
        rel='stylesheet' type='text/css'>
    <!-- Styles-->
    <link href="@Url.Content("~/Content/Core.css")" rel="stylesheet" type="text/css" />
    <!-- Init variables -->
    @{
        //User theme
        var currentTheme = DotNetDream.Extenstion.SessionManager.User.Theme;
        //Script folder
        DirectoryInfo scriptDir = new DirectoryInfo(Server.MapPath("~/Scripts/jQuery"));
        DirectoryInfo cssDir = new DirectoryInfo(Server.MapPath("~/Content/jQuery"));
    }
    <!-- jQuery UI Theme -->
    <link href="@Url.Content(string.Format("~/Content/Themes/{0}/theme.css", DotNetDream.Extenstion.SessionManager.User.Theme)) " rel="stylesheet" type="text/css" />
    <!-- jQuery plugins CSS -->
    @foreach (FileInfo file in cssDir.GetFiles())
    {
        <link href="@Url.Content(string.Format("~/Content/jQuery/{0}", file.Name)) " rel="stylesheet" type="text/css" />
    }
</head>
<body>
    <div id="dnd-submenu">
        <ul>
            <li>Dummy</li>
        </ul>
    </div>
    <div id="banner">
        <div class="title">
            @Html.ActionLink("< DotNetDream />", "Index", "Home")
        </div>
        <div id="slogan1" class="slogan">
            A dream which is spanning across the ocean...
        </div>
        <div id="slogan2" class="slogan">
            ...and bearing <span class="highlight"><a href="mailto:hugh.nadia@gmail.com">Our l0ve</a>
            </span>
        </div>
    </div>
    <div id="login-wrapper">
        <div id="login">
            @Html.Partial("_LogOnPartial")
        </div>
    </div>
    <div class="page">
        <div id="dnd-mainmenu">
            <ul class="mainMenu">
                <li>@Html.ActionLink("ABOUT", "About", "Home")</li>
                <li>@Html.ActionLink("BLOG", "ViewBlog", "Blog", new { id = 1 }, null)
                    <ul class="subMenu">
                        <li>@Html.ActionLink("Our l0ve", "ViewBlog", "Blog", new { id = 1 }, null)</li>
                        <li>@Html.ActionLink("DnD Portal", "ViewBlog", "Blog", new { id = 3 }, null)</li>
                        <li>@Html.ActionLink("Wowadius", "ViewBlog", "Blog", new { id = 4 }, null)</li>
                    </ul>
                </li>
                <li>@Html.ActionLink("HOME", "Index", "Home")</li>
            </ul>
        </div>
        <div id="main">
            @RenderBody()
        </div>
    </div>
    <div id="footer">
        Copyright &copy; 2011 by <a href="mailto:hugh.nadia@gmail.com">DotNetDream</a> -
        Powered by <a href="http://asp.net/mvc" target="_blank">ASP.NET MVC3</a>
    </div>
    <div id="script">
        <!-- Register jQuery plugins-->
        <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")"  type="text/javascript")></script>
        <script src="@Url.Content("~/Scripts/jquery-ui-1.8.15.min.js")"  type="text/javascript")></script>
        @foreach (FileInfo file in scriptDir.GetFiles())
        {
            <script src="@Url.Content("~/Scripts/jQuery/" + @file.Name)" type="text/javascript")></script>
        }
        <!-- Register core script -->
        <script src="@Url.Content("~/Scripts/_core.js")" type="text/javascript"></script>
        <!-- Register controller script -->
        <script src="@Url.Content(string.Format("~/Scripts/Controllers/{0}.js", @ViewContext.RouteData.Values["controller"]))" type="text/javascript"></script>
    </div>
</body>
</html>
